package com.mc.design.test;

import org.junit.Test;

import com.mc.design.proxy.staticx.IStudy;
import com.mc.design.proxy.staticx.StudyImpl;
import com.mc.design.proxy.staticx.StudyProxy;

public class ProxyStaticTes {

	@Test
	public void StaticProxy() {
		StudyProxy studyProxy=new StudyProxy();
		IStudy study=studyProxy.getProxy(new StudyImpl());
		study.readBook();
	}
	
}
